package com.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface RoleMapper {
    @Select("select roleName from tb_role where id = #{id}")
    String getRoleNameById(@Param("id") Integer id);
}
